.sale {
  &__inner {
    position: relative;
    width: 100vw;
    height: 100px;
    &::before {
      position: absolute;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      content: "SALE";
      background: url(https://github.com/Aimer-ist/FlowerShop_VueCLI3/blob/master/src/assets/images/index/sale.jpg?raw=true) no-repeat center bottom;
      background-size: cover;
      font-size: 7.5rem;
      text-align: center;
      line-height: 100px;
      font-weight: 900;
      color: transparent;
      -webkit-background-clip: text;
      background-clip: text;
      opacity: .3;
      z-index: -1;
    }
    @include media-breakpoint-up(sm) {
      height: 160px;
      &::before {
        line-height: 160px;
        font-size: 12rem;
      }
    }
    @include media-breakpoint-up(md) {
      height: 250px;
      &::before {
        line-height: 250px;
        font-size: 18rem;
      }
    }
    @include media-breakpoint-up(xl) {
      height: 360px;
      &::before {
        line-height: 360px;
        font-size: 26rem;
      }
    }
  }
  &__title {
    font-size: 1.75rem;
    @include media-breakpoint-up(sm) {
      font-size: 3rem;
    }
    @include media-breakpoint-up(md) {
      font-size: 5rem;
    }
    @include media-breakpoint-up(xl) {
      font-size: 7rem;
    }
  }
}
.hot {
  &__item {
    &:hover {
      .text-dark {
        transition: .3s ease-in-out;
        color: $warning !important;
        &.font-weight-bold {
          color: $primary !important;
        }
      }
    }
  }
  &__img {
    padding-top: 100%;
    @media (min-width: 768px) {
      padding-top: 130%;
    }
    transition: .3s ease-in-out;
    &:hover{
      opacity: .8;
    }
  }
}
.contact {
  &__img {
    background-attachment: fixed;
    height: 360px;
    @media (min-width: 768px) {
      height: 400px;
    }
    @media (min-width: 1200px) {
      height: 500px;
    }
  }
  &__content {
    background-color: rgba($black, .5);
  }
}
.serivce {
  &__item {
    position: relative;
    width: calc(100% / 2 - 8px);
    @include media-breakpoint-up(md) {
      width: calc(100% / 4 - 8px);
    }
    &:hover {
      .serivce__title {
        height: 50%;
      }
      .serivce__img {
        &-1, &-2, &-3, &-4 {
          position: relative;
          &::after {
            position: absolute;
            content: "";
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
            height: 100%;
            width: 100%;
            background: rgba($black, .1);
          }
        }
      }
    }
  }
  &__title {
    position: absolute;
    height: calc(20px + 8px);
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    transition: all .5s ease-in-out;
    z-index: 2;
    @include media-breakpoint-up(sm) {
      transition: all .8s ease-in-out;
      height: calc(24px + 16px);
    }
  }
}
.card-overlay-inner {
  &:hover {
    .fa-angle-right {
      @include animation(1.5s, both);
      animation-name: slideRight;
      animation-iteration-count: infinite;
    }
  }
}